﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Test
{
    class Program
    {
        static void Main(string[] args)
        {
            Class1 pro = new Class1();
            Console.WriteLine("请输入正整数一个数（判断是否为8的倍数)");
            int a = int.Parse(Console.ReadLine());

            if (pro.max(a)) //传递实际参数
            {
                Console.WriteLine("{0}是8的倍数",a);
            }
            else
            {
                Console.WriteLine("{0}不是8的倍数", a);
            }
            

            
        }
    }
}
